package top.yinjinbiao.demo.netty.custom.spdpa;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Description 升谱达服务端信息
 * @Author yin.jinbiao
 * @Date 2021/11/4 16:02
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "spdpa")
@PropertySource("classpath:spdpa.properties")
@Data
public class SpdpaProperties {

    private String receiveIp;
    private Integer receivePort;
    private Integer sendPort;
}
